const TOKEN_KEY = 'geek-pc'

const setToken = token => localStorage.setItem(TOKEN_KEY, token)
const getToken = () => localStorage.getItem(TOKEN_KEY)
const clearToken = () => localStorage.removeItem(TOKEN_KEY)

export {setToken, getToken, clearToken}